package _2025_3_26;

public class TimerTest {
    public static void main(String[] args) throws IllegalAccessException {
        MyTimer myTimer=new MyTimer();
        Thread thred = new Thread (()->{
            System.out.println("执行任务");
        });
        for(int i=0;i<10;i++){
            myTimer.schedule(thred,3);
        }
    }
}
